﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KMS.Core.domain.model.alert;
using KMS.Core.domain.model.project;

namespace KMS.Web.Tests.Factory
{
    public class SystemAlertFactory
    {
        private string _defaultMessage = "test message";
        private DateTime _defaultDateTime = DateTime.Now.AddDays(-5);
        private Project _defaultProject = new Project("test project");

        public SystemAlert Create(string message)
        {
            return new SystemAlert(message, _defaultDateTime, _defaultProject);
        }

        public SystemAlert Create(string message, DateTime dateTime, Project project)
        {
            return new SystemAlert(message, dateTime, project);
        }
    }
}
